#ifndef SMALLERSHARE_H
#define SMALLERSHARE_H
#include "gPublic.h"
#include <QApplication>
#include <QDebug>
#include <QFile>
#include <QLayout>
#include <QLayoutItem>
#include <QMessageBox>
#include <QString>
#include <QTextStream>

class smallerShare {
public:
  smallerShare();
  static void setStyle(const QString &style);
  static void writeFile(QString fileName, QString data);
  static void removeLayout(QWidget *wdialog, QLayout *layout);
  static void addEchanged(uint8_t *data_in, uint8_t *data_out, uint8_t len);
  static QString hex2QString(QByteArray disArray);
  char ConvertHexChar(char ch);
  QByteArray QString2Hex(QString str);
};

bool copyFileMap(QString m_strInputFile, QString m_strOutputFile);

#endif // SMALLERSHARE_H
